package com.jack.payment.entity.filter;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

public class UserFilter {

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Schema(name = "筛选用户api 数据模型")
    public static class UserApiFilter extends CommonPaging implements Serializable {
        @Schema(description = "api 名称")
        private String apiName;
        @Schema(description = "类型")
        private Integer type;
        @Schema(description = "api")
        private String apiKey;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Schema(name = "用户设备列表筛选")
    public static class UserDeviceFilter extends CommonPaging implements Serializable {
        @Schema(description = "用户id")
        private String userId;
        @Schema(description = "设备型号")
        private String deviceModel;
        @Schema(description = "设备id")
        private String deviceId;
    }


}
